package org.abacus.client.ui.access;

import java.util.HashMap;
import java.util.Map;

public abstract class AbstractAccessData implements AccessData {

	private final Map<String, AccessData> children = new HashMap<String, AccessData>();

	private String dataSource;

	public String getDataSource() {
		return dataSource;
	}

	public void setDataSource(String dataSource) {
		this.dataSource = dataSource;
	}

	private String dataId;

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	private String id;

	private String code;

	private String name;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Map<String, AccessData> getChildren() {
		return children;
	}

}
